package com.weiyuwqj.server.service.sys.impl;

import com.weiyuwqj.server.service.base.BaseServiceImpl;
import com.weiyuwqj.server.mapper.SysTempcodeMapper;
import com.weiyuwqj.api.service.SysTempcodeService;
import com.weiyuwqj.api.model.SysTempcode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lips on 2016/2/3.
 */
@Service("tempcodeService")
public class SysTempcodeServiceImpl extends BaseServiceImpl<SysTempcode> implements SysTempcodeService {

    @Autowired
    SysTempcodeMapper mapper;

    @Override
    public SysTempcode getByMobileAndCode(String mobile,String code) {
        return mapper.getByMobileAndCode(mobile,code);
    }
}
